package com.api.shopapi.service.impl;


import com.api.shopapi.entity.TotalOrderDay;
import com.api.shopapi.mapper.TotalOrderDayMapper;
import com.api.shopapi.service.TotalOrderDayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("TotalOrderDayServiceImplOne")
public class TotalOrderDayServiceImpl implements TotalOrderDayService {


    @Autowired
    private TotalOrderDayMapper totalOrderDayMapper;

    @Override
    public
    int insert(TotalOrderDay totalOrderDay){
        return totalOrderDayMapper.insert(totalOrderDay);
    }

    @Override
    public
    List<TotalOrderDay> ListThisMonth(String businessCode,String month){
        return totalOrderDayMapper.ListThisMonth(businessCode,month);
    }



}
